package com.mzj.saas.mservice.application.entity;

import com.mzj.saas.mservice.sys.entity.IdEntity;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.util.Date;

/**
 * 自定义流程操作日志表
 */
@Entity
@Table(name = "saas_approval_process_log")
public class ApprovalProcessLog extends IdEntity {
    /*
     *流程id
     */
    @Column(name = "approval_process_id", nullable = true)
    private Long approvalProcessId;
    /*
     *旧流程(标签ids)
     */
    @Column(name = "old_approval_process", nullable = true)
    private String oldApprovalProcess;
    /*
     *新流程(标签ids)
     */
    @Column(name = "new_approval_process", nullable = true)
    private String newApprovalProcess;
    /*
     *操作人
     */
    @Column(name = "operation_id", nullable = true)
    private String operationId;
    /*
     *操作时间
     */
    @Column(name = "operation_time", nullable = true)
    private Date operationTime;

    public Long getApprovalProcessId() {
        return approvalProcessId;
    }

    public void setApprovalProcessId(Long approvalProcessId) {
        this.approvalProcessId = approvalProcessId;
    }

    public String getOldApprovalProcess() {
        return oldApprovalProcess;
    }

    public void setOldApprovalProcess(String oldApprovalProcess) {
        this.oldApprovalProcess = oldApprovalProcess;
    }

    public String getNewApprovalProcess() {
        return newApprovalProcess;
    }

    public void setNewApprovalProcess(String newApprovalProcess) {
        this.newApprovalProcess = newApprovalProcess;
    }

    public String getOperationId() {
        return operationId;
    }

    public void setOperationId(String operationId) {
        this.operationId = operationId;
    }

    public Date getOperationTime() {
        return operationTime;
    }

    public void setOperationTime(Date operationTime) {
        this.operationTime = operationTime;
    }
}
